﻿package mortal.game.view.forging.view
{
    import mortal.game.resource.info.item.*;
    import mortal.game.view.common.item.*;

    public class DecomposePackItem extends BaseItem
    {
        private var _isDisabled:Boolean;

        public function DecomposePackItem()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            isShowLock = true;
            return;
        }// end function

        public function set isDisabled(param1:Boolean) : void
        {
            this._isDisabled = param1;
            if (!param1)
            {
                this.mouseEnabled = true;
            }
            return;
        }// end function

        public function clearStrengLevel() : void
        {
            if (_txtStrenLv)
            {
                _txtStrenLv.text = "";
            }
            return;
        }// end function

        override public function set itemData(param1:ItemData) : void
        {
            super.itemData = param1;
            if (param1)
            {
                isCheckOtherSkillBookState = true;
            }
            else
            {
                isCheckOtherSkillBookState = false;
            }
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            return;
        }// end function

    }
}
